package org.flower.web.servlet;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.annotation.*;
import java.io.IOException;

@WebServlet(value = "/zhuanServlet.shtml")
public class zhuanServlet extends HttpServlet {
    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    String orderId=request.getParameter("orderId");
    String shifu=request.getParameter("shifu");
    request.getSession().setAttribute("orderId",orderId);
    request.getSession().setAttribute("shifu",shifu);
    response.sendRedirect("user/jieSuan.jsp");
    }

    @Override
    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    doPost(request,response);
    }
}
